package chapter01;

import java.util.Scanner;

public class Test04_Add {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数字：");
        int a = scanner.nextInt();
        System.out.println("请输入第二个数字：");
        int b = scanner.nextInt();
        //计算和
        int c = a+b;
        System.out.println("两者的和为："+c);
    }
}
